package com.weyoung.common.model.dto.app;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class RelationNodeDTO {
    
    @NotBlank(message = "家族ID不能为空")
    private String familyId;
    
    @NotNull(message = "用户ID不能为空")
    private Integer userId;

    @NotNull(message = "父节点ID,始祖节点父节点为0")
    private Long parentRelationId;

    private String remarks;
} 